package com.glorysoft.lipuxinpda.entity;

import java.io.Serializable;

/**
 * @author lx
 * @date 2019/3/16
 * @desc
 */
public class ResponseEntity<T> implements Serializable {
    private BaseReturn RETURN;
    private T BODY;

    public T getBody() {
        return BODY;
    }

    public void setBody(T BODY) {
        this.BODY = BODY;
    }

    public BaseReturn getReturn() {
        return RETURN == null ? new BaseReturn() : RETURN;
    }

    public void setReturn(BaseReturn RETURN) {
        this.RETURN = RETURN;
    }
}
